/* components/calendar/calendar.wxss */
.popup_wrap {
  color: #101010;

  >.popup_header {
    display: flex;
    // justify-content: space-between;
    align-items: center;
    height: 100rpx;
    padding: 0 30rpx;
    background: #EFEFEF;

    >.title {
      flex: 1;
      font-size: 36rpx;
      text-align: center;
      color: #8D9094;
    }
  }

  >.popup_body {
    padding: 0 40rpx;

    >.calendar_wrap {
      >.title_wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100rpx;
        font-size: 32rpx;

        >.title {
          flex: 1;
          text-align: center;
        }

        >.icon {
          font-size: 40rpx;
        }
      }

      >.body_wrap {
        >.btn_wrap {
          display: flex;
          flex-wrap: wrap;

          &:first-child {
            border-bottom: 2rpx solid #E0E3EA;
          }


          >.btn {
            position: relative;
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            min-width: 14%;
            height: 70rpx;
            color: #232E3A;

            &::before {
              content: '';
              position: absolute;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
              z-index: -1;
              width: 56rpx;
              height: 56rpx;
              border-radius: 50%;
            }

            &.gray {
              color: #B8BCC5;
            }

            &.curr {
              font-weight: bold;
              color: #3894FF;
            }

            &.active {
              color: #fff !important;

              &::before {
                background: #3894FF;
              }
            }
          }
        }

        >.title_time {
          display: flex;

          >.unit {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 98rpx;
          }
        }

        >.body_time {
          display: flex;
          border: 2rpx solid #EFEFEF;

          >.select_wrap {
            flex: 1;
            height: 490rpx;
            border-left: 2rpx solid #EFEFEF;
            overflow-y: auto;

            &:first-child {
              border-left: none;
            }
            
            >.time {
              display: flex;
              justify-content: center;
              align-items: center;
              height: 70rpx;

              &.gray {
                color: #B8BCC5 !important;
                background: transparent !important;
              }

              &.active {
                color: #fff;
                background: #3894FF;
              }
            }
          }
        }
      }

      >.hide {
        display: none;
      }
    }
  }

  >.popup_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40rpx 30rpx;
    // border-top: 2rpx solid #E0E3EA;
    font-size: 26rpx;

    >.time_wrap {
      display: flex;
      margin: 16rpx 0 0;

      >.time {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 56rpx;
        height: 40rpx;
        margin: 0 8rpx;
        border: 2rpx solid #E0E3EA;
        border-radius: 8rpx;
      }
    }

    >.u-btn {
      height: 44rpx;
      margin-top: 16rpx;
      padding: 0 12rpx;
    }
  }
}